<?php
	include_once("conn.php");
	class addCate
	{
		public function addC(){
			$sql = "insert into category(cate_name,name) values('".$_POST["newcategory"]."','".$_SESSION["current_user"]."')";
			if($_POST["newcategory"]!=NULL)
			{

				mysql_query($sql);
				
			}

		}
	}


?>

